﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Emptiness.Screens;
using FlatRedBall.Input;
using Microsoft.Xna.Framework.Input;

namespace Emptiness.Screens
{
    public class MenuScreen : Screen
    {
        // If not loading any .scnx file, the first argument is ""
        public MenuScreen()
            : base("Assets/Scenes/menuScreen.scnx", "MenuScreen")
        {

        }

        public override void Activity(bool firstTimeCalled)
        {
            base.Activity(firstTimeCalled);

            if (InputManager.Keyboard.KeyReleased(Keys.Space))
            {
                IsActivityFinished = true;
                NextScreen = "Emptiness.Screens.InstructionsScreen";
            }
        }
    }
}
